home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 71.zip / BS1 part 71 / X-Cad3000_d5.adf / XCdoc / drawxh < prev    next >
Text File  |  1991-11-22  |  3KB  |  75 lines

  1.  
  2.    5.8.1 DRAW XHATCH
  3.  
  4.  
  5. The DRAW XHATCH command is used to define a closed polygon which will be
  6. filled with evenly spaced parallel lines to denote cross-hatching. The
  7. entity created is called an xhatch polygon. A single xhatch polygon may
  8. consist of up to 64 separate polygons, one main polygon and 63 sub-polygons.
  9. Sub-polygons can be used to define inner boundarys within the main polygon
  10. that act as 'holes' and will be excluded from the cross-hatch fill.
  11.  
  12.  
  13.    COMMAND FORMAT
  14.  
  15.       #DRAW XHATCH [modifiers] :Loc x1 x2 ... xn [:Loc x1 x2 ... xn] [CR]
  16.          Loc ...
  17.  
  18. The first set of locations entered define the main polygon boundary. If this
  19. set of locations is delimited with a colon, then a sub-polygon boundary
  20. definition can be entered. Futher sub-polygon boundaries may be entered
  21. until a return is used to terminate the last location list. When the xhatch
  22. polygon has been created, a second xhatch polygon can be defined in the
  23. same way. To terminate the command, a return should be entered at the 'Loc'
  24. prompt which appears when the previously defined xhatch polygon has been
  25. created.
  26.  
  27. Cross-hatching is generally drawn using existing entities to define the
  28. boundary of the area to be filled. To create a polygon boundary using existing
  29. entities, the IDENTS point on entity modes - CHAIN, GENERATE, END, MID, ORG
  30. and NEAR - can be used to generate the required boundary. For more
  31. information on this subject see the documentation for IDENTS or use the
  32. command:
  33.  
  34.    #HELP MANUAL IDENTS LOCS
  35.  
  36. ( See figs. 5.54 to 5.56 ).
  37.  
  38.  
  39.    MODIFIERS
  40.  
  41. LAYER          Requires a layer number. This will override the current
  42.                active layer.
  43.  
  44. DEPTH          Requires a depth number. This will override the current
  45.                active depth.
  46.  
  47. DISTANCE       The DISTANCE modifier is used to specify the spacing of the
  48.                parallel lines used to denote the cross-hatch. A value must
  49.                be entered for this modifier.
  50.  
  51. ANGLE          The ANGLE modifier is used to specify the angle for the
  52.                cross-hatching. If the modifier is omitted, the default
  53.                angle of 45 degrees is used.
  54.  
  55.  
  56.    Like most entities, xhatch may be drawn with a hardfont or a softfont.
  57.    The font will be applied to each of the lines that make up the cross-
  58.    hatching.
  59.  
  60. HARDFONT       Indicates that a hardware line style will be entered.
  61.  
  62. .STYLE         One of the predefined styles, a value between 0 and 15.
  63.  
  64. .THICKNESS     Line thickness, a value between 1 and 5.
  65.  
  66. SOFTFONT       Indicates a software line style will be entered. For a full
  67.                description of the SOFTFONT option, see the documentation
  68.                for the command DEFINE SOFTFONT.
  69.  
  70. ATTRIBUTE      Used to enter one or more attributes associated with this
  71.                entity. For a full description of the ATTRIBUTE option, see
  72.                the documentation for the command ADD ATTRIBUTE.
  73.  
  74.  
  75.